#include "employee.h"

Employee::Employee(int ID, string name, int depID)
{
    this->m_DepID = depID;
    this->m_ID = ID;
    this->m_Name = name;
}

//现实员工信息
void Employee::showInfo()
{
    cout << "职工编号：" << this->m_ID
         << "\t职工姓名：" << this->m_Name
         << "\t岗位：" << this->getDepName()
         << "\t岗位职责：完成经理交代的任务" << endl;
}

//获取岗位信息
string Employee::getDepName()
{
    return string("员工");
}
